package com.streamkar.entity.domain;

import com.streamkar.entity.base.PagingEntity;

import java.util.Date;

/**
 * @ClassName Talent
 * @Description
 * @Author tyfrost
 * @Date 2018/11/15 上午11:01
 * @Version 1.0
 */
public class Talent extends PagingEntity {
    /**
     * 主播的Streamkar ID
     */
    private Integer userId;
    /**
     * 主播所在Agency的ID
     */
    private Integer agencyId;

    private Agency agency;
    /**
     * 主播的昵称
     */
    private String nickname;
    /**
     * 主播的头像
     */
    private String avatar;
    /**
     * 主播的海报
     */
    private String poster;
    /**
     * 主播的等级
     */
    private Integer talentLevel;
    /**
     * 主播在当前月的直播时长，单位分钟
     */
    private Integer broadcastTime;
    /**
     * 主播在当前月收入钻石数量
     */
    private Long totalDiamonds;
    /**
     * 主播最近一次开播时间
     */
    private Date lastBroadcastTime;
    /**
     * 主播最后一次登录时间
     */
    private Date lastLoginTime;
    /**
     * 主播账号的注册时间
     */
    private Date registerTime;
    /**
     * 主播加入当前Agency的时间
     */
    private Date joinTime;
    /**
     * 主播加入Streamkar平台的时间
     */
    private Date newTime;
    /**
     * 主播所在Agency的国家；用于将来按照国家来设定数据权限
     */
    private String country;
    /**
     * 主播所在城市的地理坐标
     */
    private Integer location;
    /**
     * 是否离开平台
     */
    private Boolean left;
    /**
     * 离开原因
     */
    private String leftReason;
    /**
     * 数据最后更新时间
     */
    private Date updateTime;

    /**
     * 数据最后更新时间
     */
    private Date createTime;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAgencyId() {
        return agencyId;
    }

    public void setAgencyId(Integer agencyId) {
        this.agencyId = agencyId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getPoster() {
        return poster;
    }

    public void setPoster(String poster) {
        this.poster = poster;
    }

    public Integer getTalentLevel() {
        return talentLevel;
    }

    public void setTalentLevel(Integer talentLevel) {
        this.talentLevel = talentLevel;
    }

    public Integer getBroadcastTime() {
        return broadcastTime;
    }

    public void setBroadcastTime(Integer broadcastTime) {
        this.broadcastTime = broadcastTime;
    }

    public Long getTotalDiamonds() {
        return totalDiamonds;
    }

    public void setTotalDiamonds(Long totalDiamonds) {
        this.totalDiamonds = totalDiamonds;
    }

    public Date getLastBroadcastTime() {
        return lastBroadcastTime;
    }

    public void setLastBroadcastTime(Date lastBroadcastTime) {
        this.lastBroadcastTime = lastBroadcastTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Date getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
    }

    public Date getNewTime() {
        return newTime;
    }

    public void setNewTime(Date newTime) {
        this.newTime = newTime;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public Integer getLocation() {
        return location;
    }

    public void setLocation(Integer location) {
        this.location = location;
    }

    public String getLeftReason() {
        return leftReason;
    }

    public void setLeftReason(String leftReason) {
        this.leftReason = leftReason;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Agency getAgency() {
        return agency;
    }

    public void setAgency(Agency agency) {
        this.agency = agency;
    }

    public Boolean getLeft() {
        return left;
    }

    public void setLeft(Boolean left) {
        this.left = left;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
